package com.wh.wisdomsite.xbox.ba.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/***
 * xbox框架-服务方法表
 * @Package com.wh.wisdomsite.xbox.ba.entity
 * @author 谢泽鹏
 * @date 2016年11月07日 下午15:10
 * @Copyright 个人版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2016
 * @version V1.0
 */
@TableName("xbox_service_method")
public class ServiceMethod extends Model<ServiceMethod> {

    /**
     * 服务方法编号
     */
    @TableId(type = IdType.UUID)
    private String id;

    /**
     * 应用key
     */
    @TableField("T_APP_KEY")
    private String appKey;

    /**
     * 方法
     */
    @TableField("T_METHOD")
    private String method;

    /**
     * 版本号
     */
    @TableField("T_VERSION")
    private String version;

    /**
     * 服务标题
     */
    @TableField("T_TITLE")
    private String title;

    /**
     * 忽略服务请求签名
     */
    @TableField("T_IGNORE_SIGN")
    private Integer ignoreSign;

    /**
     * 需要会话较验
     */
    @TableField("T_NEED_SESSION")
    private Integer needSession;

    /**
     * 服务已过期
     */
    @TableField("T_OBSOLETED")
    private Integer obsoleted;

    /**
     * 最大超时
     */
    @TableField("T_TIMEOUT")
    private Integer timeout;

    /**
     * 日志标识
     */
    @TableField("T_LOG_FLAG")
    private Integer logFlag;

    /**
     * 状态
     */
    @TableField("T_STATUS")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField("T_CREATE_DATE")
    private Date createDate;

    /**
     * 修改时间
     */
    @TableField("T_UPDATE_DATE")
    private Date updateDate;

    /**
     * 服务备注
     */
    @TableField("T_REMARK")
    private String remark;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAppKey() {
        return this.appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getMethod() {
        return this.method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getVersion() {
        return this.version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getIgnoreSign() {
        return this.ignoreSign;
    }

    public void setIgnoreSign(Integer ignoreSign) {
        this.ignoreSign = ignoreSign;
    }

    public Integer getNeedSession() {
        return this.needSession;
    }

    public void setNeedSession(Integer needSession) {
        this.needSession = needSession;
    }

    public Integer getObsoleted() {
        return this.obsoleted;
    }

    public void setObsoleted(Integer obsoleted) {
        this.obsoleted = obsoleted;
    }

    public Integer getTimeout() {
        return this.timeout;
    }

    public void setTimeout(Integer timeout) {
        this.timeout = timeout;
    }

    public Date getCreateDate() {
        return this.createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return this.updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getLogFlag() {
        return logFlag;
    }

    public void setLogFlag(Integer logFlag) {
        this.logFlag = logFlag;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }
}